jQuery.noConflict(); 

jQuery(document).ready(function($){

  $('#comment').one('focus',function() { //Live Comments
    $('.formcontainer').prepend('<div id="comment-live-preview"></div>');
  });
  
  var $comment = ''; // that's two single quotation-marks at the end
  $('#comment').keyup(function() {
    $comment = $(this).val();
    $comment = $comment.replace(/\n/g, "<br />").replace(/\n\n+/g, '<br /><br />').replace(/(<\/?)script/g,"$1noscript");
    $('#comment-live-preview').html( $comment );
  });

});
